export default [
	// Create Book
	{
		name: 'create_books',
		base: {
			url: '/api/books',
			method: 'post',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
		}
	},
	{
		name: 'get_isbnFree',
		base: {
			url: '/api/books/isbn/free',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
		}
	},
	{
		name: 'get_sale',
		base: {
			url: '/api/books/sale/{id}',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Query my books
	{
		name: 'get_books_my',
		base: {
			url: '/api/books/my',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
		}
	},
	// Find my book by Id
	{
		name: 'get_books_by_id',
		base: {
			url: '/api/books/{id}',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	{
		name: 'get_books_my_by_id',
		base: {
			url: '/api/books/my/{id}',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Update Book Info
	{
		name: 'patch_books_by_id',
		base: {
			url: '/api/books/my/{id}',
			method: 'patch',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Delete my book by Id
	{
		name: 'delete_books_by_id',
		base: {
			url: '/api/books/my/{id}',
			method: 'delete',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Publish my book to blockchain
	{
		name: 'post_books_publish_by_id',
		base: {
			url: '/api/books/publish/{id}',
			method: 'post',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Create copyright info
	{
		name: 'post_books_id_copyright',
		base: {
			url: '/api/books/{id}/copyright',
			method: 'post',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Update copyright info
	{
		name: 'patch_books_id_copyright',
		base: {
			url: '/api/books/{id}/copyright',
			method: 'patch',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Create Price info
	{
		name: 'post_books_id_price',
		base: {
			url: '/api/books/{id}/price',
			method: 'post',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Update Price info
	{
		name: 'patch_books_id_price',
		base: {
			url: '/api/books/{id}/price',
			method: 'patch',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Create Specification info
	{
		name: 'post_books_id_specification',
		base: {
			url: '/api/books/{id}/specification',
			method: 'post',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Update Specification info
	{
		name: 'patch_books_id_specification',
		base: {
			url: '/api/books/{id}/specification',
			method: 'patch',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
]